﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using AcadPos.Entity;
using AcadPos.Bussiness;
using System.Data;

namespace AcadPosApp.ControlClass
{
    public static class CNDisciplina
    {
        #region Inserir
        public static bool inserir(Disciplina disciplina)
        {
            return new NGDisciplina().inserir(disciplina);
        }
        #endregion

        #region Alterar
        public static bool alterar(Disciplina disciplina)
        {
            return new NGDisciplina().alterar(disciplina);
        }
        #endregion

        #region Excluir
        public static bool excluir(Disciplina disciplina)
        {
            return new NGDisciplina().excluir(disciplina);
        }
        #endregion

        #region Listar Disciplina
        public static DataTable listarDisciplina(Disciplina disciplina)
        {
            return new NGDisciplina().listarDisciplina(disciplina);
        }
        #endregion
    }
}